package com.blb.javatest01.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blb.javatest01.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
public interface OrderMapper extends BaseMapper<Order> {

    /**
     * 分页+关联查询
     * @param page
     * @return
     */
    IPage<Order> selectOrdersPage(IPage<Order> page);
}
